Documentation Center

IPublishPostProcessPlugin - IshRunFeedSDLLiveContent [deprecated]

Uploads the files to Legacy Content Delivery by executing the FeedSDLLiveContent.ps1 script.

Plugin Input

Plugin configuration parameters
ParameterRequiredDefault valueAllowed valuesDescription
ScriptsFolderYes Valid folder path.The path to the folder that contains the FeedSDLLiveContent.ps1 script.
FeedSDLLiveContentOutDirectoryContextItemKeyYes The name of key of output parameter to set the path to folder that contains the FeedSDLLiveContent.ps1 script.The output value with the path to folder that contains the FeedSDLLiveContent.ps1 script will be added to the context.Items collection.
Input expected in the context.Items collection:
ParameterRequiredDefault valueAllowed valuesDescription
JobSpecLocationYes Valid file path.Path to the file system folder where the job spec XML will be store stored.

Plugin Outcome

Changes made to the file system: Multiple files are changed and uploaded.

Values set in the context as a result: None.

Values set in the context.Items collection as a result:
Item KeyTypical ValueItem Value TypeDescription
The name of key is specified in the parameter FeedSDLLiveContentOutDirectoryContextItemKeystringThe out folder of FeedSDLLiveContent.ps1

plugin name="ISHRUNFEEDSDLLIVECONTENT" example


        <plugin name="ISHRUNFEEDSDLLIVECONTENT" handler="IshRunFeedSDLLiveContent">
          <description>
            Uploads the files to Legacy Content Delivery
          </description>
          <initialize>
            <parameters>
              <parameter name="ScriptsFolder">%ISHPROJECTAPPPATH%\Utilities\PublishingService\Tools</parameter>
              <parameter name="FeedSDLLiveContentOutDirectoryContextItemKey">FeedSDLLiveContentOutDirectory</parameter>
            </parameters>
          </initialize>
        </plugin>

Plugin flow

The IshRunFeedSDLLiveContent does the following:
  • Starts a process that executes the FeedSDLLiveContent.ps1 command with the correct set of parameters (including the location of the job specification file, the log file location, authentication context, etc.)
  • The output of the process is gathered and saved in the Event Log detail records. The status of the output is set depending whether errors/warning were encountered or not.
  • The values of the context that need to be changed are set.